package com.gmlive.common.network.domain.request;

import com.gmlive.common.network.domain.entity.DomainBean;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;

/**
 * @Author sven
 * @Date 2020/5/20
 */
public interface DomainService {

    @GET("{path}")
    Call<DomainBean> getDomain(@Path(value = "path", encoded = true) String path, @QueryMap Map<String, String> params);
}
